package com.leoman.service;

import com.leoman.entity.Praise;
import com.leoman.service.common.ICommonService;

import java.util.List;

/**
 * PraiseService
 * Created by 涂奕恒 on 2016/11/23 0023 下午 3:54.
 */
public interface PraiseService extends ICommonService<Praise> {

    // 查询点赞列表
    List<Praise> findListBySourceIdAndType(Integer sourceId, Integer type);

    // 删除对象的所有点赞信息
    Integer deleteAllInfo(Integer sourceId, Integer sourceType);
}